package com.aspose.cells;

class zcx {
   int a;
   byte b = 30;
   byte c;
   int d = 21;

   void a(zcx var1) {
      this.a = var1.a;
      this.b = var1.b;
      this.c = var1.c;
      this.d = var1.d;
   }

   void a(byte[] var1) {
      this.d = var1[12] & 255;
      this.a = com.aspose.cells.b.a.zc.a(var1, 16);
      if (this.d > 20) {
         this.b = var1[20];
      }

      if (this.d > 21) {
         this.c = var1[21];
      }

   }

   byte[] a() {
      byte[] var1 = new byte[this.d + 4];
      var1[0] = 99;
      var1[1] = 8;
      var1[2] = (byte)this.d;
      byte var2 = 4;
      var1[var2 + 0] = 99;
      var1[var2 + 1] = 8;
      var1[var2 + 12] = (byte)this.d;
      System.arraycopy(com.aspose.cells.b.a.zc.a(this.a), 0, var1, var2 + 16, 4);
      if (this.d > 20) {
         var1[var2 + 20] = this.b;
      }

      if (this.d > 21) {
         var1[var2 + 21] = this.c;
      }

      return var1;
   }

   boolean b() {
      return (this.a & 2) != 0;
   }

   void a(boolean var1) {
      if (var1) {
         this.a |= 2;
      } else {
         this.a &= -3;
      }

   }

   boolean c() {
      return (this.a & 4) != 0;
   }

   void b(boolean var1) {
      if (var1) {
         this.a |= 4;
      } else {
         this.a &= -5;
      }

   }
}
